# Copyright (c) 2021 HPMicro
# SPDX-License-Identifier: BSD-3-Clause

cmake_minimum_required(VERSION 3.13)


find_package(hpm-sdk REQUIRED HINTS $ENV{HPM_SDK_BASE})

project(debug)

sdk_app_src(src/main.c)
sdk_app_src(src/jtag.c)
sdk_app_src(src/target.c)
sdk_app_src(src/riscv_debug.c)
sdk_app_src(src/test.c)
sdk_app_src(src/flash/algo.c)
sdk_app_src(src/flash/flash.c)
generate_ide_projects()
